package me.zhengjie.repository;

import me.zhengjie.dto.sqlServer.UnbindingStation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface UnbindingStationRepository  extends JpaRepository<UnbindingStation, Integer>, JpaSpecificationExecutor<UnbindingStation> {

    UnbindingStation findUnbindingStationByStationName(String stationName);

    UnbindingStation findUnbindingStationByUnbindingOrderCode(String orderCode);

    List<UnbindingStation> findUnbindingStationsByStationType(Integer stationType);
}
